package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.device.phone.entity.PhoneDataEntity;
import com.csun.cmny.provider.model.domain.DmcPhoneData;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcPhoneDataMapper extends Mapper<DmcPhoneData> {

    /**
     * select by device
     *
     * @param deviceId  device id
     *
     * @return  the dmc phone date by deviceId
     */
    DmcPhoneData selectByDeviceId(Long deviceId);

    /**
     * 查询全部的电话机数据
     *
     * @return
     */
    List<PhoneDataEntity> queryPhoneDataBindList();
}